package com.mybook.app.mapper;

import com.mybook.app.core.CommonMapper;
import com.mybook.app.model.BookInfo;
import com.mybook.app.model.HotList;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HotListMapper extends CommonMapper<HotList> {

    List<HotList> findHotBookTop9OrderByCTimeDesc();

    HotList findHotBookById(@Param("id") String id);
}